home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmTimr2
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "Closing Nag Screen"
- ClientHeight = 4260
- ClientLeft = 2295
- ClientTop = 1485
- ClientWidth = 6150
- ControlBox = 0 'False
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 4665
- Left = 2235
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 4260
- ScaleWidth = 6150
- Top = 1140
- Width = 6270
- Begin VB.Timer Timer1
- Interval = 500
- Left = 45
- Top = 4275
- End
- Begin Threed.SSPanel pnlMain2
- Height = 4260
- Left = -15
- TabIndex = 0
- Top = 0
- Width = 6165
- _version = 65536
- _extentx = 10874
- _extenty = 7514
- _stockprops = 15
- backcolor = -2147483633
- bevelouter = 0
- alignment = 0
- Begin Threed.SSPanel pnlExit
- Height = 630
- Left = 4185
- TabIndex = 4
- Top = 3210
- Width = 1710
- _version = 65536
- _extentx = 3016
- _extenty = 1111
- _stockprops = 15
- backcolor = -2147483633
- bevelouter = 0
- bevelinner = 1
- alignment = 0
- Begin Threed.SSCommand btnExit
- Height = 510
- Left = 60
- TabIndex = 5
- Top = 60
- Width = 1590
- _version = 65536
- _extentx = 2805
- _extenty = 900
- _stockprops = 78
- caption = "Exit"
- BeginProperty font {FB8F0823-0164-101B-84ED-08002B2EC713}
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- End
- End
- Begin Threed.SSFrame fraCopy
- Height = 570
- Left = 345
- TabIndex = 2
- Top = 2100
- Width = 5550
- _version = 65536
- _extentx = 9790
- _extenty = 1005
- _stockprops = 14
- forecolor = 0
- BeginProperty font {FB8F0823-0164-101B-84ED-08002B2EC713}
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Begin VB.Label lblCopy
- Appearance = 0 'Flat
- BackColor = &H80000005&
- Caption = "Display all Copyright and Trademark notices again."
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 195
- Left = 1035
- TabIndex = 3
- Top = 225
- Width = 3570
- End
- End
- Begin Threed.SSPanel pnlMessage
- Height = 1590
- Left = 300
- TabIndex = 1
- Top = 285
- Width = 5610
- _version = 65536
- _extentx = 9895
- _extenty = 2805
- _stockprops = 15
- caption = $"FRMTIMR2.frx":0000
- backcolor = -2147483633
- BeginProperty font {FB8F0823-0164-101B-84ED-08002B2EC713}
- name = "MS Sans Serif"
- charset = 1
- weight = 400
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- bevelouter = 0
- bevelinner = 1
- alignment = 0
- End
- Begin VB.Label lblTimr2
- Alignment = 2 'Center
- Appearance = 0 'Flat
- BackColor = &H00000000&
- ForeColor = &H0000FF00&
- Height = 330
- Left = 2940
- TabIndex = 7
- Top = 3375
- Width = 375
- End
- Begin VB.Label lblTimr1
- Appearance = 0 'Flat
- BackColor = &H00000000&
- ForeColor = &H80000008&
- Height = 870
- Left = 2490
- TabIndex = 6
- Top = 3075
- Width = 1290
- End
- End
- Attribute VB_Name = "frmTimr2"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- 'Flash Windows title bar.
- Private Declare Function FlashWindow Lib "User" (ByVal hWnd%, ByVal bInvert%) As Integer
- 'Variable for timer event.
- Dim C As Double
- Private Sub btnExit_Click()
- Unload Me
- End Sub
- Private Sub Form_Load()
- 'Appearance of screen when it loads.
- pnlExit.Visible = False
- btnExit.Visible = False
- C = Now
- Left = (Screen.Width - Width) \ 2
- Top = (Screen.Height - Height) \ 2
- End Sub
- Private Sub Timer1_Timer()
- ' Flash title bar of nag screen.
- I = FlashWindow(frmTimr2.hWnd, 1)
- ' Display timer for 5 seconds. After 5 seconds
- ' Exit button is displayed.
- Const TM_STOP = 5 'Changing this number will change the length of time a screen stays up.
- lblTimr2.Caption = Format$(Now - C, "ss")
- If Val(Format$(Now - C, "ss")) >= TM_STOP Then
- Timer1.Enabled = False
- btnExit.Visible = True
- pnlExit.Visible = True
- End If
- End Sub
-